import { ProtocolComponent } from "@components/Apps/InertialNavigation/InertialNavigationComponent";
import HomeContent from "@components/Apps/Simulation/HomeContent";
import { ClientMessage } from "@runtime/generate/message/ClientMessage";
import MessageHandler from "@runtime/module/Handler/MessageHandler";

export default class NeolithVehicleWarnUpdateMessageHandler extends MessageHandler<ClientMessage.NeolithVehicleWarnMessage> {
    protected async RunAsync(message: ClientMessage.NeolithVehicleWarnMessage): Promise<void> {
        console.log(message, '车辆启动消息返回值++++++++++++++++++++++++++++++++++');
        HomeContent.Default.vehicleStart.value = message.Content
    }
}